﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TS.Commons
{
    public class UIUser
    {
        /// <summary>
        /// Collection SQL query
        /// </summary>
        public const string SelectUserQuery = "sp_User_SelectLogOn";
        public const string SelectUserByUserIdQuery = "sp_User_SelectByUserId";
        public const string UpdateUserByUserIdQuery = "sp_User_UpdateByUserId";
        public const string UpdateIsLockByUserIdQuery = "[sp_User_UpdateIsLockByUserId]";

        public const string SelectUserRole = "[sp_User_SelectRole]";




        public const string SelectGroupQuery = "SelectAllGroup";
        public const string GroupSelectPagedQuery = "sp_Group_SelectPaged";

        public const string UserSelectPaged = "UserSelectPaged";



        public const string InsertUserQuery = "InsertUser";
        public const string CheckMailAndSecretQuestionQuery = "UserCheckEmailSecretQuestion";
        public const string UpdatePasswordByMailQuery = "UserUpdatePasswordByEmail";
        public const string SelectQuestionQuery = "QuestionSelectAll";

        //Url Const
        public const string Alert = "<script>alert('Do not Access. You might not permission to this page.')</script>";
        public const string LogOnUrl = "~/Views/LogOn.aspx";
        public const string InvalidRolePage = "../InvalidRole.aspx";
    }
}
